﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="left.ascx.cs" Inherits="left" %>

<%@ Register src="productsort.ascx" tagname="productsort" tagprefix="uc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<link href="<%= ResolveUrl("left/leftStyle.css")%>" rel="stylesheet" type="text/css" />

<style type="text/css">

    body {
	font-size: 12px;
	font-family: "Arial";
	}
    .font {
	    font-family: "Arial", "Helvetica", "sans-serif";
	    font-size: 12px;
	    line-height: 100px;
    }
        .ratingStar
        {
            font-size: 0pt;
            width: 13px;
            height: 12px;
            margin: 0px;
            padding: 0px;
            cursor:pointer;
            display:block;
        }
        .filledRatingStar
        {
            background-image:url(image/FilledStar.png);
        }
        .emtyRatingStar
        {
             background-image:url(image/EmptyStar.png);
        }
        .savedRatingStar
        {
             background-image:url(image/SavedStar.png);
        }
       
</style>

<div style="width:250px; height:910px ; margin-top:0">
  <div class="sharp color1" style="margin-top:0px">
  <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b> 
      <div class="content" style="height:156px">  
        <h3>关于我们</h3>
        <div style=" height:125px; text-align:center ">
          <table style=" margin-top:5px; width: 250px;">
            <tr>
              <td style="width: 105px;">        
              卖家的服务态度：
              </td>
              <td>
              <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode ="Conditional">
                    <ContentTemplate>
                        <cc1:Rating ID="Rating1" runat="server" CurrentRating="1" AutoPostBack="True"  EmptyStarCssClass ="emtyRatingStar"
                         FilledStarCssClass ="filledRatingStar"  MaxRating="5" WaitingStarCssClass ="savedRatingStar" StarCssClass = "ratingStar" Width="100px" >
                        </cc1:Rating>
                        &nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="False" ForeColor="Red" Text="几"></asp:Label>星级
                    </ContentTemplate>
                </asp:UpdatePanel>
              </td>
            </tr>
            <tr>
              <td style="width: 105px;">
              宝贝与描述相符：
              </td>
              <td>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode ="Conditional">
                        <ContentTemplate>
                            <cc1:Rating ID="Rating2" runat="server" CurrentRating="1" AutoPostBack="True"  EmptyStarCssClass ="emtyRatingStar"
                             FilledStarCssClass ="filledRatingStar"  MaxRating="5" WaitingStarCssClass ="savedRatingStar" StarCssClass = "ratingStar" Width="100px" >
                            </cc1:Rating>
                            &nbsp;&nbsp;<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Italic="False" ForeColor="Red" Text="几"></asp:Label>星级
                        </ContentTemplate>
                    </asp:UpdatePanel>
              </td>    
            </tr>
            <tr>
              <td style="width: 105px;">
              卖家发货的速度：
              </td>
              <td>
                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode ="Conditional">
                        <ContentTemplate>
                            <cc1:Rating ID="Rating3" runat="server" CurrentRating="1" AutoPostBack="True"  EmptyStarCssClass ="emtyRatingStar"
                             FilledStarCssClass ="filledRatingStar"  MaxRating="5" WaitingStarCssClass ="savedRatingStar" StarCssClass = "ratingStar" Width="100px" >
                            </cc1:Rating>
                            &nbsp;&nbsp;<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Italic="False" ForeColor="Red" Text="几"></asp:Label>星级
                        </ContentTemplate>
                    </asp:UpdatePanel>
              </td>
            </tr>  
            <tr>
              <td colspan="2" align="left">
                <pre>
&nbsp;&nbsp;公司名：巅峰书城
&nbsp;&nbsp;所在地：中国地质大学（武汉）
&nbsp;&nbsp;电  话：027-59707221
                </pre>
              </td>
            </tr>
          </table>
        </div>
      </div>
    <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>    
  </div>
 
  <div class="sharp color1" >
    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b> 
      <div class="content">  <h3>产品搜索</h3>
        <div style="width:100%; height:auto">
         <asp:UpdatePanel  ID="UpdatePanel4"  runat="server" UpdateMode="Conditional">
           <ContentTemplate>
             <table border="0" style=" height:auto;width: 235px; margin-top:20px; margin-left:5px ">
               <tr>
                <td style="width:50px" >类别</td>
                <td>              
                  <asp:DropDownList ID="bigtype" runat="server" Width="80" AutoPostBack="True" 
                    onselectedindexchanged="bigtype_SelectedIndexChanged">
                   <asp:ListItem Text="选择大类" ></asp:ListItem>
                  </asp:DropDownList>                            
                </td>
                <td>                 
                    <asp:DropDownList ID="smalltype" runat="server" Width="80" onselectedindexchanged="smalltype_SelectedIndexChanged" AppendDataBoundItems="True">
                       <asp:ListItem Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                </td>
               </tr>
               <tr>
                 <td style="width:50px" >关键词</td>
                 <td colspan="2"><asp:TextBox ID="productkeyword" runat="server" Width="163px"></asp:TextBox></td>
               </tr>
               <tr>
                <td style="width:50px">价格</td>
                <td colspan="2">
                  <asp:TextBox ID="beginprice" runat="server" Width="64px"></asp:TextBox>
                  &nbsp;<span > 到 </span>&nbsp;
                  <asp:TextBox ID="endprice" runat="server" Width="64px"></asp:TextBox>
                 </td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
               </tr> 
             </table>
           </ContentTemplate>
         </asp:UpdatePanel> 
         <div style="text-align:center">
             <asp:Button ID="searchbutton" runat="server" Width="77px" Text="查询" Height="25px" 
                        onclick="searchbutton_Click"  />
         </div>     
        </div>
      </div>
    <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>    
  </div>
    
  <div class="sharp color1">
    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b> 
      <div class="content">  
        <h3>产品分类</h3>
        <div style="height:290px">
            <uc1:productsort ID="productsort1" runat="server" />
        </div>
      </div>
    <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>    
  </div>
  
  <div class="sharp color1">
    <b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b> 
      <div class="content">  
        <h3>友情链接</h3>
        <div style="height:154px; background-image: url('CustomTool/left/水平格.png');">
          
        </div>
      </div>
    <b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>    
  </div>
</div>
